﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YouTravel.ViewModels
{
    
    public class MenuViewModel
    {
        /// <summary>
        /// 菜单ID
        /// </summary>
        public int ID { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 菜单地址
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 父ID
        /// </summary>
        public int PID { get; set; }
        public MenuViewModel ParentMenu { get; set; }
        /// <summary>
        /// 帐号菜单
        /// </summary>
        public int UserMenu { get; set; }
        /// <summary>
        /// 是否已有该权限
        /// </summary>
        public bool IsHas { get; set; }
    }
}
